package top.linruchang.dao;

import org.apache.ibatis.annotations.Select;
import top.linruchang.domain.OmsOrder;

import java.util.List;

/**
 * @Classname OrderDao
 * @Description
 * @Date 2020/3/18 12:37
 * @Created by lrc
 */
public interface OrderDao {

    public OmsOrder findByOrderId(Integer order_id);
    public OmsOrder findByOrderId2(Integer order_id);


//    @Select("select * from oms_order_master where user_id = #{user_id}")
    public List<OmsOrder> findByUserId(Integer user_idJ);

}

class a implements  OrderDao {

    @Override
    public OmsOrder findByOrderId(Integer order_id) {
        return null;
    }

    @Override
    public OmsOrder findByOrderId2(Integer order_id) {
        return null;
    }

    @Override
    public List<OmsOrder> findByUserId(Integer user_idJ) {
        return null;
    }
}
